const { makeCoverter } = require('./helper')
const Menu = require('../../domain/menu/menu')

const menuCoveter = makeCoverter(Menu, [
  'name',
  'code',
  'type',
  'description',
  'url',
  'icon',
  'parentId',
  'sort',
  'systemId',
])

module.exports = menuCoveter
